#include <iostream>
using namespace std;

template <class T>
struct Node
{
   T data;
   Node *next; 
};

class solution {

    public:
        void stats(LinkList<int> L,int &pl,int &minus,int &zero){

          while(L != NULL){

              if(L.data > 0){
                  pl++;

              }else if(L.data < 0){

                   minus++;
              }else if(L.data == 0){
                  zero++;
              }

              L = L.next;
          }

          return;
}

};



